#include "main.h"
#include "rtthread.h"

extern void NVIC_Init();

void task0(void *arg)
{
	(void)arg;
	while (1)
	{
		printf_("task0 run.\r\n");
	}
}

void task1(void *arg)
{
	(void)arg;
	while (1)
	{
		printf_("task1 run.\r\n");
	}
}

void rtos_init()
{

	while (1)
	{
		printf_("task1 run.\r\n");
		rt_thread_mdelay(500);
	}
}
